﻿using GrainManage.Entities.Column;
using GrainManage.Proxy.Util;
using System.Reflection;

namespace GrainManage.Proxy
{
    public sealed class ColumnProxy : GrainManage.Interface.IColumn
    {

        //************************************************POST************************************************
        public OutputGetHeader GetHeader(InputGetHeader input)
        {
            var result = WebUtil.ExecuteByPost<OutputGetHeader>(UrlUtil.Generate(MethodBase.GetCurrentMethod()), input);
            return result;
        }

        public OutputGetColumnHeader GetColumnHeader(InputGetColumnHeader input)
        {
            var result = WebUtil.ExecuteByPost<OutputGetColumnHeader>(UrlUtil.Generate(MethodBase.GetCurrentMethod()), input);
            return result;
        }
    }
}
